git-jemalloc2
authorGNU Libc Maintainers <debian-glibc@lists.debian.org>
Mon, 6 May 2024 20:34:15 +0000 (22:34 +0200)
committerAurelien Jarno <aurel32@debian.org>
Mon, 6 May 2024 20:34:15 +0000 (22:34 +0200)
commit18b6e9b12816bbd3dd29011cd0e686a5141fc68a
tree163b8e9175923fb9d9fa19e18f88b15abdbcd141
parentfe51e47cc9c38499d815564ea015b81aeb68ff31
git-jemalloc2

commit 53da64d1cf3694a132287d1ab6e9655031124e32
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Tue Aug 8 12:19:29 2023 +0200

    htl: Initialize ___pthread_self early

    When using jemalloc, malloc() needs to use TSD, while libpthread
    initialization needs malloc(). Having ___pthread_self set early to some
    static storage allows TSD to work early, thus allowing jemalloc and
    libpthread to initialize together.

    This incidentaly simplifies __pthread_enable/disable_asynccancel and
    __pthread_self, now that ___pthread_self is always initialized.

Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name git-jemalloc2.diff
htl/cancellation.c
htl/pt-self.c
sysdeps/mach/hurd/htl/pt-sysdep.c